<?php

namespace app\admin\model;

use app\webapi\common\BaseModel;

class HealthModel extends BaseModel {
    protected $table='jq_website_heath';
    public function getIsSettedTextAttr($value, $data)
    {
        $status = [0 => '未设置', 1 => '已设置'];
        return $status[$data['is_setted']];
    }
    public function getIsBindingTextAttr($value, $data)
    {
        $status = [0 => '未绑定', 1 => '已绑定'];
        return $status[$data['is_binding']];
    }
}